<div class="flex">
  <div class="grid">
    <!-- 每个写字的方块都是10*10(格子) -->
    <div class="gridItem tc" *ngFor="let i of grids; index as k">
      <span *ngIf="KGrid.indexOf(k) >= 0" class="bgc-e"> K </span>
    </div>
  </div>
  <div class="grid">
    <div class="gridItem tc" *ngFor="let i of grids; index as k">
      <span *ngIf="FGrid.indexOf(k) >= 0" class="bgc-e"> F </span>
    </div>
  </div>
  <div class="grid">
    <div class="gridItem tc" *ngFor="let i of grids; index as k">
      <span *ngIf="MGrid.indexOf(k) >= 0" class="bgc-e"> M </span>
    </div>
  </div>
</div>

<pre class="text" [innerHTML]="FKM"></pre>
<!-- <button  (click)="testFiglet('K')">K</button> -->
